import React from 'react'
import ClassTestHook from './components/ClassTestHook'
import TestTop from './components/TestTop'

export default function App() {
    return (
        <div>
            <h3>类组件中不能使用hook</h3>
            {/* <ClassTestHook/> */}
            <h3>只能在顶级作用域中使用</h3>
            <TestTop/>
        </div>
    )
}
